package test.singleton;

public class SingletonHungry {

    private final static SingletonHungry singleton = new SingletonHungry();

    private SingletonHungry() {
    }

    public static SingletonHungry getInstance() throws InterruptedException {
        // 模拟操作中的停顿
        Thread.sleep(10L);
        return singleton;
    }
}
